build: Drop CONFIG_SPL_BUILD guards in some cases
authorTom Rini <[email protected]>
Fri, 22 Dec 2017 03:13:22 +0000 (22:13 -0500)
committerTom Rini <[email protected]>
Wed, 10 Jan 2018 13:05:52 +0000 (08:05 -0500)
commitec75fab302a8b2ddf291cc1b7219b0333cea1a4d
treee1e18c826f5c564d10674cc83b0919e465a3b5ce
parent2c33b0c7d8deca7e9a907365a59fcbcde531c70d
build: Drop CONFIG_SPL_BUILD guards in some cases

Given gcc-6.1 and later we can now safely have strings discarded when
the functions are unused.  This lets us drop certain cases of not
building something so that we don't have the strings brought in when the
code was discarded.  Simplify the code now by dropping guards we don't
need now.

Cc: Stefano Babic <[email protected]>
Cc: Fabio Estevam <[email protected]>
Cc: Chander Kashyap <[email protected]>
Cc: Thomas Abraham <[email protected]>
Cc: Vipin Kumar <[email protected]>
Cc: Wenyou Yang <[email protected]>
Signed-off-by: Tom Rini <[email protected]>
arch/arm/cpu/arm1136/mx31/Makefile
arch/arm/cpu/arm1136/mx35/Makefile
arch/arm/cpu/arm926ejs/mx25/Makefile
arch/arm/cpu/arm926ejs/mx27/Makefile
arch/sandbox/lib/Makefile
board/atmel/common/Makefile
board/samsung/arndale/Makefile
board/samsung/espresso7420/Makefile
board/spear/spear600/Makefile